package dto;

import lombok.Data;

/**
 * @author lyl
 * description:
 */
@Data
public class UserDto {
    private long userId;
    private String username;
    private String password;
    private long age;
    public UserDto(String username, long age) {
        this.username = username;
        this.age = age;
    }
    public UserDto(String username, String password, long age) {
        this.username = username;
        this.password = password;
        this.age = age;
    }
    public UserDto(long userId, String username, String password, long age) {
        this.userId = userId;
        this.username = username;
        this.password = password;
        this.age = age;
    }

    public UserDto() {

    }
}
